<template>
  <div v-show="popText" class="model-box" @click.stop="closeModel1">
    <div class="con-box" @click.stop="popStop">
      <h5>提交成功</h5>
      <img src="../../../assets/img/pop/submit_icon_car.png">
      <p class="jieguo">提交成功！马上会有专业的服务人员给取得联系，感谢您的咨询！</p>
      <button @click="haode">好的</button>
      <i class="iconfont iconlogin_btn_shutdown close" @click="closeModel1" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  computed: {
    popText() {
      return this.$store.state.template1.popBool1
    }
  },
  created() {
  },
  mounted() {
  },
  methods: {
    closeModel1() {
      this.$store.commit('template1/changePop1', false)
    },
    popStop() {

    },
    haode() {
      this.$store.commit('template1/changePop1', false)
    }
  }
}
</script>

<style lang="scss" scoped>
.model-box{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  padding-top: 200px;
  color: #333;
  z-index: 99;
  >.con-box{
    position: relative;
    width: 670px;
    height: 507px;
    margin: 0 auto;
    background-color: #fff;
    >h5{
      font-size: 24px;
      height: 72px;
      line-height: 72px;
      text-align: center;
      border-bottom: 1px solid #ECECEC;
      margin-bottom: 50px;
    }
    >img{
      display: block;
      margin: 0 auto;
      height: 116px;
      margin-bottom: 50px;
    }
    >.jieguo{
      width: 440px;
      text-align: center;
      font-size: 20px;
      color: #333;
      margin-bottom: 12px;
      line-height: 1.7;
      margin: 0 auto;
      margin-bottom: 39px;
    }
    >button{
      display: block;
      margin: 0 auto;
      width: 218px;
      height: 42px;
      line-height: 42px;
      text-align: center;
      color: #fff;
      font-size: 18px;
      background-color: #417AEF;
      cursor: pointer;
      border-radius: 4px;
    }
    >i{
      position: absolute;
      top: 21px;
      right: 21px;
      z-index: 101;
      font-size: 30px;
      cursor: pointer;
      color: #999;
    }
  }
}
</style>

